<template>
  <div>
    <van-tabbar v-model="active" active-color="#409eff" inactive-color="#000">
      <van-tabbar-item icon="wap-home-o">
        <router-link to="/layout/Firstpage">首页</router-link></van-tabbar-item
      >
      <van-tabbar-item icon="hot-o">
        <router-link to="/layout/Msg">快讯</router-link></van-tabbar-item
      >
      <van-tabbar-item icon="user-o">
        <router-link to="/layout/Mine">我的</router-link></van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  //注册组件
  components: {},
  name: "tabbar",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style scoped>
</style>